cURL
curl --request POST \ --url https://api.us1.bfl.ai/v1/flux-pro-1.0-canny-finetuned \ --header 'Content-Type: application/json' \ --header 'x-key: <api-key>' \ --data '{ "finetune_id": "my-finetune", "finetune_strength": 1.1, "prompt": "ein fantastisches bild", "canny_low_threshold": 250, "canny_high_threshold": 250, "control_image": "<string>", "prompt_upsampling": false, "seed": 42, "steps": 50, "output_format": "jpeg", "guidance": 30, "safety_tolerance": 2, "webhook_url": "<string>", "webhook_secret": "<string>" }'
{ "id": "<string>", "polling_url": "<string>" }
Submits an image generation task with FLUX.1 Canny [pro] finetune.
Successful Response
The response is of type object.
object
Was this page helpful?